home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16442 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.lang.c++
  2. Path: netcom.com!marnold
  3. From: marnold@netcom.com (Matt Arnold)
  4. Subject: Re: Constructor member initializer list
  5. Message-ID: <marnoldDpn0pI.468@netcom.com>
  6. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  7. References: <4jua8k$fa1$2@mhadg.production.compuserve.com> <marnoldDpHEuD.EGy@netcom.com> <316ADA2E.5674@datalytics.com>
  8. Date: Wed, 10 Apr 1996 08:24:54 GMT
  9. Sender: marnold@netcom23.netcom.com
  10.  
  11. Rob Stewart <stew@datalytics.com> writes:
  12.  
  13. >Matt Arnold wrote:
  14. >> 
  15. >> Alan Huff <74312.2300@CompuServe.COM> writes:
  16. >> [correct answer to elided question snipped]
  17. >> 
  18. >> You can only intialize types that have constructors in an intializer
  19. >> list.
  20. >> 
  21.  
  22. >You can also initialize built-in types, though they don't have 
  23. >ctors.
  24.  
  25. OK, "you can only initialize types that have a ctor syntax available
  26. in an initializer list".
  27.  
  28. -------------------------------------------------------------------------
  29. Matt Arnold                       |        | ||| | |||| |  | | || ||
  30. marnold@netcom.com                |        | ||| | |||| |  | | || ||
  31. Boston, MA                        |      0 | ||| | |||| |  | | || ||
  32. 617.389.7384 (h) 617.576.2760 (w) |        | ||| | |||| |  | | || ||
  33. C++, MIDI, Win32/95 developer     |        | ||| 4 3 1   0 8 3 || ||
  34. -------------------------------------------------------------------------
  35.